static-delta: Don't run bspatch when output object already exists
authorJohn Hiesey <john@hiesey.com>
Wed, 7 Oct 2015 21:43:13 +0000 (14:43 -0700)
committerColin Walters <walters@verbum.org>
Sat, 10 Oct 2015 14:31:10 +0000 (10:31 -0400)
commitf2b4a9e10729321d7fd90382cda28d450479b336
tree570d9283fb9999c1c292ad70cd94b6c7ab5962d0
parentdd35e1b9cdb4b8abf0ffd15263ae33db3e729d75
static-delta: Don't run bspatch when output object already exists

There is already a check that the destination object does not
exist in all other cases when processing an incoming static delta.
However, the bspatch case would still try to run and fail. Add
an analogous check to that case as well.

https://bugzilla.gnome.org/show_bug.cgi?id=756260
src/libostree/ostree-repo-static-delta-processing.c